import { Entity, Column, PrimaryGeneratedColumn, PrimaryColumn } from 'typeorm';

@Entity()
export class Upload {
  @PrimaryColumn()
  @PrimaryGeneratedColumn({ type: 'int' })
  id: number;
  @Column()
  name: string;
  @Column({ type: 'longtext' })
  mybase: string;
  @Column({ type: 'varchar' })
  notename: string;
}
